@import "./reset";
@import "../font/iconfont.css";

%title {
    width: 100%;
    color: #333;
    font-size: 40px;
    font-weight: 700;
    font-family: "PingFang SC";
    text-align: center;
}

a {
    &:link {
        color: #000;
    }

    &:visited {
        color: #000;
    }
}

img {
    display: block;
}

.wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;

    header {
        width: 100%;
        display: flex;
        background-color: #fff;
        position: sticky;
        top: 0;
        z-index: 999;
        border-bottom: 1px solid #eee !important;

        nav {
            width: 1200px;
            height: 65px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;

            .left {
                width: 234px;
                height: 27px;

                a {
                    img {
                        display: block;
                    }
                }
            }

            .right {
                width: 795px;
                height: 100%;
                display: flex;
                align-items: center;

                .title {
                    display: flex;

                    li {
                        line-height: 65px;
                        font-size: 18px;
                        padding: 0 20px;

                        a {
                            width: 100%;
                            height: 100%;
                            display: block;
                            position: relative;

                            .line {
                                width: 34px;
                                height: 3px;
                                position: absolute;
                                top: 46px;
                                left: calc((100% - 34px) / 2);
                                transform: rotateY(90deg);
                                transition: 0.5s all;
                            }

                            &:hover {
                                color: #FF220B;
                                font-weight: bold;

                                .line {
                                    background-color: #FF220B;
                                    transform: rotateY(0deg);
                                }
                            }
                        }

                        .active {
                            color: #FF220B;
                            font-weight: bold;

                            .line {
                                background-color: #FF220B;
                                transform: rotateY(0deg);
                            }
                        }
                    }
                }

                .downloadApp {
                    width: 118px;
                    height: 40px;
                    background-color: #FF220B;
                    margin: 0 20px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    color: #fff;
                    border-radius: 20px;
                    font-size: 18px;
                    position: relative;

                    i {
                        font-size: 28px;
                    }

                    img {
                        width: 360px;
                        border-radius: 10px;
                        position: absolute;
                        top: 68px;
                        visibility: hidden;
                        transform: scale(0.1);
                        pointer-events: none;
                    }

                    &:hover {
                        img {
                            visibility: visible;
                            transform: scale(1);
                            transition: 0.5s all;
                        }
                    }
                }
            }

        }

        &::after {
            content: "";
            width: 100px;
            height: 65px;
            display: block;
            flex-grow: 1;
        }

        &::before {
            content: "";
            width: 100px;
            height: 65px;
            display: block;
            flex-grow: 1;
        }

    }

    main {
        width: 1500px;

        .bgBox {
            position: relative;

            img {
                width: 100%;
            }

            .bg_text {
                width: 100%;
                color: #fff;
                text-align: center;
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);

                h2 {
                    font-size: 70px;
                    font-weight: 700;
                }

                p {
                    margin-top: 20px;
                    font-size: 39px;
                }
            }
        }
    }

    footer {
        width: 100%;
        height: 395px;
        background-color: #191B26;
        display: flex;

        .container {
            width: 1200px;

            .top {
                margin-top: 40px;

                img {
                    display: block;
                }
            }

            .content {
                width: 100%;
                display: flex;
                justify-content: space-between;

                .cont_left {
                    color: #999999;
                    margin-top: 65px;

                    .lists {
                        margin: 25px 0 10px;

                        a {
                            color: #999999;
                            font-size: 14px;
                            margin-right: 20px;
                        }
                    }
                }

                .cont_right {
                    text-align: right;

                    p {
                        margin-top: 8px;
                        color: #999999;
                        font-size: 14px;
                    }
                }
            }

            .line {
                width: 100%;
                height: 1px;
                background: #32323d;
                margin: 51px 0 30px;
            }

            .bottom {
                p {
                    color: #999999;
                    font-size: 14px;
                    display: flex;
                    line-height: 24px;
                    position: relative;

                    a {
                        color: #999999;
                    }

                    span {
                        position: absolute;
                        right: 0;

                        i {
                            font-size: 20px;
                            position: absolute;
                            left: -24px;
                            top: 1px;
                        }
                    }
                }
            }
        }

        &::after {
            content: "";
            width: 100px;
            height: 395px;
            display: block;
            flex-grow: 1;
        }

        &::before {
            content: "";
            width: 100px;
            height: 395px;
            display: block;
            flex-grow: 1;
        }
    }
}